//
//  JZAlbumManager.h
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/28.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LCAlbum.h"
#import "JZComment.h"

@interface JZAlbumManager : NSObject
+(JZAlbumManager*)manager;

-(void)createAlbumWithText:(NSString*)text photos:(NSArray*)photos error:(NSError**)error;

-(void)findAlbumWithBlock:(AVArrayResultBlock)block;

- (void)addUserToCache:(AVUser *)user;

-(void)commentToUser:(AVUser*)toUser AtAlbum:(LCAlbum*)album content:(NSString*)content block:(AVBooleanResultBlock)block;

-(void)digOrCancelDigOfAlbum:(LCAlbum*)album block:(AVBooleanResultBlock)block;

- (void)deleteUnusedFiles;
@end
